package com.dong.dongweather.gson;

import com.google.gson.annotations.SerializedName;

public class HeWeather5 {


    /**
     * basic : {"cid":"CN101280601","location":"深圳","parent_city":"深圳","admin_area":"广东省","cnty":"中国","lat":"22.547001","lon":"114.085945","tz":"+8.00"}
     * update : {"loc":"2023-03-21 12:02","utc":"2023-03-21 04:02"}
     * status : ok
     * now : {"cloud":"91","cond_code":"104","cond_txt":"阴","fl":"25","hum":"79","pcpn":"0.0","pres":"1004","tmp":"24","vis":"30","wind_deg":"235","wind_dir":"西南风","wind_sc":"1","wind_spd":"4"}
     */

    @SerializedName("basic")
    public BasicBean basic;
    @SerializedName("update")
    public UpdateBean update;
    @SerializedName("status")
    public String status;
    @SerializedName("now")
    public NowBean now;

    public static class BasicBean {
        /**
         * cid : CN101280601
         * location : 深圳
         * parent_city : 深圳
         * admin_area : 广东省
         * cnty : 中国
         * lat : 22.547001
         * lon : 114.085945
         * tz : +8.00
         */

        @SerializedName("cid")
        public String cid;
        @SerializedName("location")
        public String location;
        @SerializedName("parent_city")
        public String parentCity;
        @SerializedName("admin_area")
        public String adminArea;
        @SerializedName("cnty")
        public String cnty;
        @SerializedName("lat")
        public String lat;
        @SerializedName("lon")
        public String lon;
        @SerializedName("tz")
        public String tz;
    }

    public static class UpdateBean {
        /**
         * loc : 2023-03-21 12:02
         * utc : 2023-03-21 04:02
         */

        @SerializedName("loc")
        public String loc;
        @SerializedName("utc")
        public String utc;
    }

    public static class NowBean {
        /**
         * cloud : 91
         * cond_code : 104
         * cond_txt : 阴
         * fl : 25
         * hum : 79
         * pcpn : 0.0
         * pres : 1004
         * tmp : 24
         * vis : 30
         * wind_deg : 235
         * wind_dir : 西南风
         * wind_sc : 1
         * wind_spd : 4
         */

        @SerializedName("cloud")
        public String cloud;
        @SerializedName("cond_code")
        public String condCode;
        @SerializedName("cond_txt")
        public String condTxt;
        @SerializedName("fl")
        public String fl;
        @SerializedName("hum")
        public String hum;
        @SerializedName("pcpn")
        public String pcpn;
        @SerializedName("pres")
        public String pres;
        @SerializedName("tmp")
        public String tmp;
        @SerializedName("vis")
        public String vis;
        @SerializedName("wind_deg")
        public String windDeg;
        @SerializedName("wind_dir")
        public String windDir;
        @SerializedName("wind_sc")
        public String windSc;
        @SerializedName("wind_spd")
        public String windSpd;
    }
}
